-
Home
-
Leat
-
2.0.0 (latest)
-
Code
-
Classes
- OrderService
Total Complexity |
31 |
Dependencies |
8 |
Dependents |
2 |
Total lines |
361 |
Lines of code |
211 |
Logical lines of code |
71 |
Comment lines |
103 |
Methods |
10 |
Properties |
4 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
create_order() |
S |
48 |
5 |
37 |
calculate_order_result() |
S |
51 |
5 |
29 |
transform_charges() |
S |
49 |
4 |
34 |
transform_order() |
S |
51 |
3 |
24 |
transform_line_items() |
S |
52 |
3 |
23 |
process_existing_order() |
S |
56 |
3 |
19 |
transform_discounts() |
S |
55 |
3 |
18 |
map_payment_status() |
S |
65 |
3 |
9 |
map_order_status() |
S |
62 |
1 |
12 |
__construct() |
S |
71 |
1 |
6 |